package com.search.commons;

import java.util.List;

/**
 * Created by yijy on 2017/7/6.
 */
public class CommonPage<T> {
    private int pageCount; //总页数

    private int currentCount; //当前页数

    private List<T> dataList;   //数据

    private String  code;     //响应编号

    private String message;     //响应消息

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public int getCurrentCount() {
        return currentCount;
    }

    public void setCurrentCount(int currentCount) {
        this.currentCount = currentCount;
    }
}
